package com.wsm.executor.ExecutorPlatform;

/**
 * @name: IWrapper
 * @Author: wangshimin
 * @Date: 2020/8/3 0003  下午 14:56
 * @Description:
 */
public class IWrapper<T, V> {
    private IWorker<T, V> iWorker;
    private T key;

    public IWrapper() {
    }

    public IWrapper(IWorker<T, V> iWorker, T key) {
        this.iWorker = iWorker;
        this.key = key;
    }

    public IWorker<T, V> getiWorker() {
        return iWorker;
    }

    public void setiWorker(IWorker<T, V> iWorker) {
        this.iWorker = iWorker;
    }

    public T getKey() {
        return key;
    }

    public void setKey(T key) {
        this.key = key;
    }
}
